import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import HomePage from '@/pages/HomePage'
import UserPage from '@/pages/UserPage'
import UserLogin from '@/pages/UserLogin'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HomePage',
      component: HomePage
    },
    {
    	path:'/user/center',
    	name:'UserPage',
    	component:UserPage
    },
    {
      path:'/user/login', 
      name:'UserLogin',
      component:UserLogin
    }

  ]
})
